package com.example.anodemo.mapper;

import com.example.anodemo.model.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDetailMapper {

     @Select("select * from order_detail where order_id = #{orderId}")
     List<OrderDetail> selectByOrderId(Integer orderId);
}
